import java.awt.Color;

import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.border.LineBorder;



@SuppressWarnings("serial")
public class ListagemVeiculos extends JPanel {
	public ListagemVeiculos (final ConteudoTabelaVeiculos conteudoTabelaVeiculos){
		final JTable tabela = new JTable();	
		
		tabela.setBorder(new LineBorder(Color.BLACK));
		tabela.setGridColor(Color.BLACK);
		tabela.setShowGrid(true);
		
		JScrollPane scroll1 = new JScrollPane();
		scroll1.getViewport().setBorder(null);
		scroll1.getViewport().add(tabela);
		scroll1.setSize(500, 500);
		
		tabela.setModel(conteudoTabelaVeiculos);
		
		add(scroll1);
	}

}
